package com.entry;
//用户表
public class User {
    private Integer user_id;//用户id
    private String name;//用户名
    private Integer enterprise_id;//企业id
    private String phone;//手机号
    private String account;//账号
    private String password;//密码
    private String idcard_name;//身份证姓名
    private String idcard_no;//身份证号码

    public User(Integer user_id, String name, Integer enterprise_id, String phone, String account, String password, String idcard_name, String idcard_no) {
        this.user_id = user_id;
        this.name = name;
        this.enterprise_id = enterprise_id;
        this.phone = phone;
        this.account = account;
        this.password = password;
        this.idcard_name = idcard_name;
        this.idcard_no = idcard_no;
    }

    public User() {
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcard_name() {
        return idcard_name;
    }

    public void setIdcard_name(String idcard_name) {
        this.idcard_name = idcard_name;
    }

    public String getIdcard_no() {
        return idcard_no;
    }

    public void setIdcard_no(String idcard_no) {
        this.idcard_no = idcard_no;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", name='" + name + '\'' +
                ", enterprise_id='" + enterprise_id + '\'' +
                ", phone='" + phone + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", idcard_name='" + idcard_name + '\'' +
                ", idcard_no='" + idcard_no + '\'' +
                '}';
    }
}
